package com.ruoyi.ring.mapper;

import java.util.List;
import com.ruoyi.ring.domain.RingInteractiveComments;
import org.apache.ibatis.annotations.Param;

/**
 * 互动评论Mapper接口
 * 
 * @author liuwp
 * @date 2025-11-21
 */
public interface RingInteractiveCommentsMapper 
{
    /**
     * 查询互动评论
     * 
     * @param id 互动评论主键
     * @return 互动评论
     */
    public RingInteractiveComments selectRingInteractiveCommentsById(Long id);

    /**
     * 查询互动评论列表
     * 
     * @param ringInteractiveComments 互动评论
     * @return 互动评论集合
     */
    public List<RingInteractiveComments> selectRingInteractiveCommentsList(RingInteractiveComments ringInteractiveComments);

    /**
     * 可以业务主键查询一条互动评论
     *
     * @param ringInteractiveComments 互动评论
     * @return 互动评论集合
     */
    public RingInteractiveComments selectOneRingInteractiveComments(RingInteractiveComments ringInteractiveComments);

    /**
     * 新增互动评论
     * 
     * @param ringInteractiveComments 互动评论
     * @return 结果
     */
    public int insertRingInteractiveComments(RingInteractiveComments ringInteractiveComments);

    /**
     * 修改互动评论
     * 
     * @param ringInteractiveComments 互动评论
     * @return 结果
     */
    public int updateRingInteractiveComments(RingInteractiveComments ringInteractiveComments);

    /**
     * 条件修改互动评论
     *
     * @param ringInteractiveComments 互动评论
     * @param ringInteractiveComments 互动评论条件
     * @return 结果
     */
    public int updateRingInteractiveCommentsCondition(@Param("ringInteractiveComments") RingInteractiveComments ringInteractiveComments, @Param("ringInteractiveCommentsCondition") RingInteractiveComments ringInteractiveCommentsCondition);

    /**
     * 删除互动评论
     * 
     * @param id 互动评论主键
     * @return 结果
     */
    public int deleteRingInteractiveCommentsById(Long id);

    /**
     * 条件删除互动评论
     *
     * @param ringInteractiveComments 互动评论
     * @return 结果
     */
    public int deleteRingInteractiveCommentsByCondition(RingInteractiveComments ringInteractiveComments);

    /**
     * 批量删除互动评论
     * 
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteRingInteractiveCommentsByIds(Long[] ids);
}
